import { BaseTreeNodeEntity } from "./BaseTreeNodeEntity";
import type { SysMessageType } from "./SysMessageType";

export class SysMessage extends BaseTreeNodeEntity {
    type!: SysMessageType;
    receiverId!: number | null;
    receiverName!: string | null;
    senderId!: number | null;
    senderName!: string | null;
    sentTime!: string | null;
    readState!: number;
    readTime!: string | null;
    title!: string | null;
    content!: string | null;
    children: SysMessage[] = [];
}